import Home from '../components/user/Home'
import userIndex from '../components/user/userIndex'
import userRecord from '../components/user/userRecord'
import userChangePassword from '../components/user/userChangePassword'
import userBalanceInquiry from '../components/user/userBalanceInquiry'
import userPerson from '../components/user/User.vue'
import userConsumption from '../components/user/userConsumption'
import userAllRecord from '../components/user/userAllRecord.vue'
import uerTopUp from '../components/user/userTopUp.vue'
import userConsumptionRecord from '../components/user/userConsumptionRecord.vue'
import userXG from '../components/user/userXG.vue'
export default {
	userurl: {
		path: '/user',
		name: 'Home',
		redirect: {
			name: 'userIndex'
		},
		components: {
			addComName: Home
		},
		meta: {
			requireAuth: true
		},
		children: [{
				path: 'userIndex',
				name: 'userIndex',
				components: {
					userV: userIndex
				},
				meta: {
					requireAuth: true
				},
			}, {
				path: 'userRecord',
				name: 'userRecord',
				components: {
					userV: userRecord
				},
				meta: {
					requireAuth: true
				},
				children: [{
						path: 'userAllRecord',
						name: 'userAllRecord',
						components: {
							userV: userAllRecord
						},
						meta: {
							requireAuth: true
						},
					},
					{
						path: 'uerTopUp',
						name: 'uerTopUp',
						components: {
							userV: uerTopUp
						},
						meta: {
							requireAuth: true
						},
					},
					{
						path: 'userConsumptionRecord',
						name: 'userConsumptionRecord',
						components: {
							userV: userConsumptionRecord
						},
						meta: {
							requireAuth: true
						},
					}
				]
			},
			{
				path: 'userConsumption',
				name: 'userConsumption',
				components: {
					userV: userConsumption
				},
				meta: {
					requireAuth: true
				},
			}, {
				path: 'userChangePassword',
				name: 'userChangePassword',
				components: {
					userV: userChangePassword
				},
				meta: {
					requireAuth: true
				},
			}, {
				path: 'userBalanceInquiry',
				name: 'userBalanceInquiry',
				components: {
					userV: userBalanceInquiry
				},
				meta: {
					requireAuth: true
				},
			},
			{
				path: 'userPerson',
				name: 'userPerson',
				components: {
					userV: userPerson
				},
				meta: {
					requireAuth: true
				},
			},
			{
				path: 'userXG',
				name: 'userXG',
				components: {
					userV: userXG
				},
				meta: {
					requireAuth: true
				},
				
			}
		]
	},
}
